<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>WIKINDX CLASS DOCUMENTATION</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/wikindx2/docs/docs.css" type="text/css" />
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h2>WIKINDX METHODS</h2>
<p><strong>Method:</strong><br />
  
  pageFormat()
</p>
<p><strong>Class:</strong><br />
  <a href="exportcommonClass.html">EXPORTCOMMON</a>
<p><strong>Method Call:</strong><br />
  include_once("core/file/export/EXPORTCOMMON.php");<br />
  $common = new EXPORTCOMMON($this-&gt;db);  <br />
STRING $common->pageFormat(ASSOC ARRAY: $row, STRING: $exportType);
</p>
<p><strong>Description:</strong><br /> 
This method returns the <em>pageStart</em> and <em>pageEnd</em> fields  of a WIKINDX resource as a single string.</p>
<p><em>$row</em> is an associative array returned by <a href="../sql/fetchAssocMethod.html">SQL::fetchAssoc()</a>.</p>
<p><em>$exportType</em> is a string indicating the target format ('endnote', 'bibtex', 'ris' etc.) and delimiters between pages will be dealt with differently according to value here. </p>
<p></p>
<strong>Usage:</strong><br />
  
Example:<br />
<pre>
	include_once("core/file/export/EXPORTCOMMON.php");
	$common = new EXPORTCOMMON($this->db);
	while($row = $this->db->fetchAssoc($sth))
		$pages = $common->pageFormat($row, 'bibtex');
</pre> 

<p align="right"><a href="../../index.html">WIKINDX home</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../../usage/index.html">WIKINDX usage</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../index.html">WIKINDX classes</a>
</p>
</body>

</html>
